package com.juncheng.controller.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
   private boolean flag;
   private String msg;
   private Object data;

    public Result(boolean flag, Object data) {
      this.flag = flag;
      this.data = data;
    }


    public Result(boolean flag) {
        this.flag = flag;
    }
}
